
// bitmap-viewerDlg.h : header file
//

#pragma once
#include "PictureBox.h"

// CbitmapviewerDlg dialog
class CbitmapviewerDlg : public CDialogEx
{
// Construction
public:
	CbitmapviewerDlg(CWnd* pParent = nullptr);	// standard constructor

// Dialog Data
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_BITMAPVIEWER_DIALOG };
#endif

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	// load
	CButton m_btn_load;
	// file selected
	CEdit m_filename;
	CPictureBox m_pic;
	afx_msg void OnBnClickedButtonLoad();
};
